export default {
  initPhaser(state, data) {
    state.Phaser = data;
  },
  
  setGameConfig(state, data) {
    for (const key in data) {
      if (Object.hasOwnProperty.call(data, key)) {
        const item = data[key];
        state.gameConfig[key] = item;
      }
    }
  },
};
